<?php
/**
 * Created by PhpStorm.
 * User: wangkxin@foxmail.com
 * Date: 2022/4/14
 * Time: 23:15
 */
namespace app\api\route;
use think\facade\Route;

//允许跨域
header("Access-Control-Allow-Origin:*");

//注册路由
Route::post('hello_api','Login/login');

//用户中心路由组
Route::group('ucenter',function(){
    Route::post('de','User/details');
})->middleware('check');


